﻿<%@ Page Title="Manager Buy Offers" Language="C#" MasterPageFile="~/UserView.master"
    AutoEventWireup="true" CodeBehind="MbBuying.aspx.cs" Inherits="BestBuy.PageUser.MbBuying" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="../Styles/Seller.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Panel ID="Panel2" runat="server" CssClass="left-side-bar bs-docs-sidebar">
        <ul class="nav nav-list bs-docs-sidenav">
            <li class="active" style="text-align: center;"><a href="#">My Buy Offers</a></li>
            <li><a id="A10" runat="server" href="AddBuyOffer.aspx"><i class="icon-chevron-right">
            </i>Add New Buy Offer</a></li>
            <li><a id="A11" runat="server" href="MbBuying.aspx"><i class="icon-chevron-right"></i>
                Manage Buy Offers</a></li>
        </ul>
    </asp:Panel>
    <div class="main-content">
        <table class="table_dulieu" align="left" width="100%">
            <tr>
                <td class="class_td_button" align="left">
                    <asp:LinkButton ID="lbtnXoa" CssClass="btn" Style="margin-left: 10px; cursor: pointer;"
                        Visible="false" OnClientClick="javascript:return confirm('Are you sure to remove the selected buy offers (s)?');"
                        CausesValidation="false" runat="server" Text="Remove" OnClick="lbtnXoa_Click">
                    </asp:LinkButton>
                </td>
            </tr>
        </table>
        <br />
        <asp:GridView ID="gridview" runat="server" HeaderStyle-CssClass="gridview_header"
            CssClass="gridview" AutoGenerateColumns="false" GridLines="None" OnRowDataBound="gridview_OnRowDataBound"
            PageSize="15" PagerSettings-FirstPageText="<<" Width="100%">
            <Columns>
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:CheckBox ID="chkXoa" runat="server" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="ID" Visible="false">
                    <ItemTemplate>
                        <asp:Label ID="lbIDBangTinMua" runat="server" Text='<%#Eval("IDBangTinMua")%>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Title" HeaderStyle-Width="50%" ItemStyle-HorizontalAlign="Left">
                    <ItemTemplate>
                        <asp:Label ID="lbTieuDe" runat="server" Text='<%#Eval("TieuDe")%>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Posted On">
                    <ItemTemplate>
                        <asp:Label ID="lbNgayDang" runat="server" Text='<%#Eval("NgayDang")%>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Expires On">
                    <ItemTemplate>
                        <asp:Label ID="lbThoiHanDang" runat="server" Text='<%#Eval("ThoiHanDang")%>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:Label ID="lbUnverified" runat="server" Visible="false" Text="Unverified"></asp:Label>
                        <asp:HyperLink ID="HyperLinkEdit" runat="server" Text="Detail" ToolTip="View detail"
                            Visible="false">  </asp:HyperLink>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </div>
</asp:Content>
